-- GENERATED SPELL FOR [Blade of Azzinoth] --


function spell0_22996(pUnit, Event) --@Summon Tear of Azzinoth,Self--
pUnit:FullCastSpellOnTarget(39855,pUnit)
pUnit:RegisterEvent('Sorts_22996', 598, 1)
end

function Sorts_22996(pUnit, Event)
local choix_sorts_22996 = math.random(0, 0)
if choix_sorts_22996 == 0 then
pUnit:RegisterEvent('spell0_22996', 1, 1)
end
end

function mob22996_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22996', math.random(1500, 3000), 1)
end

function mob22996_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22996_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22996_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22996, 1, 'mob22996_Action')
RegisterUnitEvent(22996, 2, 'mob22996_Leave')
RegisterUnitEvent(22996, 3, 'mob22996_Kill')
RegisterUnitEvent(22996, 4, 'mob22996_Die')
